import { get, post } from '@/utils/request'
import axios from 'axios'
import { getToken } from '../utils/auth'

//修改购物车商品和数量的接口
export const postModifyCartService = (cart) => {
    return post('/pay-api/cart/update', cart)
}

//获取购物车列表
export const getCartListService = () => {
    return get('/pay-api/cart/list')
}